<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>ES6 对象的解构</title>
</head>
<body>
<script !src="">
    let abc = {
        name: "abcque",
        age: 18,
        gender: "M"
    }

    // let name = abc.name
    // let age = abc.age
    // let gender = abc.gender


    let {name, gender, age} = abc

    console.log(name);
    console.log(age);
    console.log(gender);

</script>
</body>
</html>